<?php
namespace app\model;

/**
 * Class Album
 * @package app\model
 */
class Album extends CommonModel
{
    /**
     * @desc 根据名称修改
     * @param $ids
     * @param $data
     */
    public static function updateByIds($ids, $data)
    {
        if (empty($data))
        {
            return false;
        }
        return self::where('id', 'in', $ids)->update($data);
    }
}
